package com.share.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * author:caifan
 * date:2019/5/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Blog implements Serializable {
    private static final long serialVersionUID = -3952707474420474938L;
    private Integer id;
    private String title;
    private Author author;
    private List<Post> posts;
}
